#pragma once

#include "Types.h"



namespace MemMgr
{

	// WARNING!! if iBitMap == 0 the result is undefined
	T_U32 FindLeastSignificantBitSetIndex(const T_U32 iBitMap);
	// WARNING!! if iBitMap == 0 the result is undefined
	T_U32 FindMostSignificantBitSetIndex(const T_U32 iBitMap);

	T_U32 FindLeastSignificantBitSetMask(const T_U32 iBitMap);

};